package com.oil.petro.eshop.service;

import com.oil.petro.eshop.entity.Category;
import com.oil.petro.eshop.entity.Manufacturer;
import java.util.List;

public interface ManufacturerService {

    public Manufacturer getManufacturer(int id);

    public void deleteManufacturer(Manufacturer manufacturer);

    public int saveManufacturer(Manufacturer manufacturer);

    public void updateManufacturer(Manufacturer manufacturer);

    public List<Manufacturer> getManufacturerList();
     public int getManufacturerIdByName(String name);

}
